<include file="Public/ace_header" />
<div class="row">
    <form class="form-horizontal" role="form" method="post" style="padding-left: 10px;padding-right: 10px;">
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="name"> 姓名 </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100"  id="name" name="name"  value="{$student['name']}" readonly/ >
                        <i class=""></i>
                    </span>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        <foreach name="fee" item="f">
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="number"> 应交<?=M('Term')->find($f["term_id"])['name'];?> </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" id="money" name="should[{$f['term_id']}]"  value="{$f['should']}"  readonly/>
                        <i class=""></i>
                    </span>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="over"> 欠费金额 </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" id="" name=""  value="{$f['should']-$f['over']}" readonly/>
                        <i class=""></i>
                    </span>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="over"> 交费金额 </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" id="over" name="over[{$f['term_id']}]"  value="0">
                        <i class=""></i>
                    </span>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        </foreach>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="sex"> 经办人 </label>
            <div class="col-xs-12 col-sm-6">
                <select name="name" id="name" class="width-100 find-select">
                    <option value="宁丽云" >宁丽云</option>
                    <option value="扈文华">扈文华</option>
                </select>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        <div class="clearfix form-actions">
            <div style="margin-left: 25%;">
                    <button class="btn btn-info btn-sm" type="submit">
                        <i class="icon-ok bigger-110"></i> 交费
                    </button>
                </a>
                &nbsp; &nbsp; &nbsp;
                <a href="{:U('Record/RecordStudent')}">
                    <button class="btn btn-sm return" type="button">
                        <i class="icon-reply bigger-110"></i> 返回
                    </button>
                </a>
            </div>
        </div>
    </form>
</div>
<!-- <div style="display:none;">
    <object id="CardReader1" codebase="./FirstActivex.cab#version=1,0,3,1" classid="CLSID:F225795B-A882-4FBA-934C-805E1B2FBD1B">
        <param name="_Version" value="65536" />
        <param name="_ExtentX" value="2646" />
        <param name="_ExtentY" value="1323" />
        <param name="_StockProps" value="0" />
        <param name="port" value="\u4e32\u53e31" />
        <param name="PhotoPath" value="" />
        <param name="ActivityLFrom" value="" />
        <param name="ActivityLTo" value="" />
    </object>
</div> -->
<include file="Public/ace_footer" />
